nghttp2-sys
A common library for linking nghttp2
to rust programs (also known as
libnghttp2).
Generating bindings
Before bindgen
:
- Copy
nghttp2ver.h.in
tonghttp2ver.h
- Edit
nghttp2ver.h
to remove@FOO@
, replacing with 0
Afterwards
- Remove
*vprintf*
- Remove
va_list
-related things - Add
#![allow(bad_style)]
License
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in nghttp2-sys
by you, as defined in the Apache-2.0 license,
shall be dual licensed as above, without any additional terms or conditions.